package request

type Good struct {
	Name    string  `form:"name" json:"name" binding:"required"`
	Content string  `form:"content" json:"content" binding:"required"`
	Price   float64 `form:"price" json:"price" binding:"required"`
	Num     int     `form:"num" json:"num" binding:"required"`
	Status  int     `form:"status" json:"status" binding:"required"`
}

type Order struct {
	GoodsId int64 `form:"goodsid" json:"goodsid" binding:"required"`
	UserId  int64 `form:"userid" json:"userid" binding:"required"`
}
